using System;

namespace DataAccess
{
	public class NewsInfo
	{
		#region Properties
		/// <summary>
		/// Gets or sets the NewsID value.
		/// </summary>
		private int newsID;
		public int NewsID
		{
			get { return this.newsID; }
			set { this.newsID = value; }
		}

		/// <summary>
		/// Gets or sets the SiteID value.
		/// </summary>
		private int siteID;
		public int SiteID
		{
			get { return this.siteID; }
			set { this.siteID = value; }
		}

		/// <summary>
		/// Gets or sets the NewsTitle value.
		/// </summary>
		private string newsTitle;
		public string NewsTitle
		{
			get { return this.newsTitle; }
			set { this.newsTitle = value; }
		}

		/// <summary>
		/// Gets or sets the NewsImage value.
		/// </summary>
		private string newsImage;
		public string NewsImage
		{
			get { return this.newsImage; }
			set { this.newsImage = value; }
		}

		/// <summary>
		/// Gets or sets the NewsDescription value.
		/// </summary>
		private string newsDescription;
		public string NewsDescription
		{
			get { return this.newsDescription; }
			set { this.newsDescription = value; }
		}

		/// <summary>
		/// Gets or sets the NewsContent value.
		/// </summary>
		private string newsContent;
		public string NewsContent
		{
			get { return this.newsContent; }
			set { this.newsContent = value; }
		}

		/// <summary>
		/// Gets or sets the DatePosted value.
		/// </summary>
		private DateTime datePosted;
		public DateTime DatePosted
		{
			get { return this.datePosted; }
			set { this.datePosted = value; }
		}

		/// <summary>
		/// Gets or sets the NewsStatus value.
		/// </summary>
		private bool newsStatus;
		public bool NewsStatus
		{
			get { return this.newsStatus; }
			set { this.newsStatus = value; }
		}

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the NewsInfo class.
		/// </summary>
		public NewsInfo()
		{
		}

		/// <summary>
		/// Initializes a new instance of the NewsInfo class.
		/// </summary>
		public NewsInfo(int siteID, string newsTitle, string newsImage, string newsDescription, string newsContent, DateTime datePosted, bool newsStatus)
		{
			this.SiteID = siteID;
			this.NewsTitle = newsTitle;
			this.NewsImage = newsImage;
			this.NewsDescription = newsDescription;
			this.NewsContent = newsContent;
			this.DatePosted = datePosted;
			this.NewsStatus = newsStatus;
		}

		/// <summary>
		/// Initializes a new instance of the NewsInfo class.
		/// </summary>
		public NewsInfo(int newsID, int siteID, string newsTitle, string newsImage, string newsDescription, string newsContent, DateTime datePosted, bool newsStatus)
		{
			this.NewsID = newsID;
			this.SiteID = siteID;
			this.NewsTitle = newsTitle;
			this.NewsImage = newsImage;
			this.NewsDescription = newsDescription;
			this.NewsContent = newsContent;
			this.DatePosted = datePosted;
			this.NewsStatus = newsStatus;
		}

		#endregion
	}
}
